package com.googlecode.auctionx.mercadolivre.xml.elements;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;

@Root
public class Category {
	
	@Attribute
	private String id;
	
	@Attribute
	private String name;
	
	@Attribute
	private String link;

	@Attribute(name="qty_items", empty="", required=false)
	private String quantity;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}

	public String getQuantity() {
		return quantity;
	}
}
